package top.infopub.mgr.bpa.dao;


import com.github.pagehelper.Page;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.bpa.domain.ContractDropDomain;
import top.infopub.mgr.bpa.domain.ContractEntryDomain;
import top.infopub.mgr.bpa.vo.ContractEntryVo;
import top.infopub.model.bpa.BpaContractListing;
import top.infopub.model.bpa.ContractEntry;

import java.util.List;


/** 对外承继协议(BPA_CONTRACT_EXT) **/
public interface ContractEntryDao extends GenericDao<ContractEntry, String> {

    /**
     * 根据条件查询合同清单记录
     * @param contractEntryVo
     * @return
     * @see
     */
    Page<ContractEntryDomain> selectByDomainWhere(ContractEntryVo contractEntryVo);


    List<ContractDropDomain> selectReview(String proCode);

    List<ContractDropDomain> selectExt(String proCode);

    ContractEntry selectById(String id);

    List<BpaContractListing> selectByContractId(String contractId);
}
